/* app css stylesheet */

body {}

.header {
    z-index: 999;
    position: fixed;
    top: 0;
    height: 40px;
    width: 100%;
    background-color: #555;
    box-shadow: 0 0 2px #ccc;
}

.view-container {
    margin: 60px auto;
}

.btn-defaultSet {
    outline: none;
    border: none;
}

.btn-add {
    z-index: 1000;
    position: fixed;
    top: 15px;
    right: 30px;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    color: #fff;
    background-color: #588CEB;
    box-shadow: 0px 0px 5px #344157;
    border-radius: 50%;
}

.btn-add:active {
    background-color: #76A5FC;
}

.btn-search {
  background-color: inherit;
  position: absolute;
  top: 8px;
}

.sortbox{
  position: relative;
}
.searchbox > input,
.sortbox > select{
  text-indent: 15px;
}
.operate-box{
  padding-right: 28px;
}
.operate-box > a{
  color: #999;
}
.phone-images {
    background-color: white;
    width: 450px;
    height: 450px;
    overflow: hidden;
    position: relative;
    float: left;
}

.phones {
    list-style: none;
}

.thumb {
    float: left;
    margin: -0.5em 1em 1.5em 0;
    padding-bottom: 1em;
    height: 100px;
    width: 100px;
}

.phones li {
    clear: both;
    height: 115px;
    padding-top: 15px;
}


/** Detail View **/

img.phone {
    float: left;
    margin-right: 3em;
    margin-bottom: 2em;
    background-color: white;
    padding: 2em;
    height: 400px;
    width: 400px;
    display: none;
}

img.phone:first-child {
    display: block;
}

ul.phone-thumbs {
    margin: 0;
    list-style: none;
}

ul.phone-thumbs li {
    border: 1px solid black;
    display: inline-block;
    margin: 1em;
    background-color: white;
}

ul.phone-thumbs img {
    height: 100px;
    width: 100px;
    padding: 1em;
}

ul.phone-thumbs img:hover {
    cursor: pointer;
}

ul.specs {
    clear: both;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.specs > li {
    display: inline-block;
    width: 200px;
    vertical-align: top;
}

ul.specs > li > span {
    font-weight: bold;
    font-size: 1.2em;
}

ul.specs dt {
    font-weight: bold;
}

h1 {
    border-bottom: 1px solid gray;
}
.modal-open{
    display: block;
}
body.modal-open{
    overflow: hidden;
    background-color: #ccc;
}
.mask{
    background-color: #000;
    opacity: 0.5;
    position: fixed;
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
}
.mask.open{
    display: block;
}